﻿<?php
//------- INIT

require_once("include.php");

//------- DATA VERIFICATION


//------- LOGIC
$name; // name of the event
$startDate; // Start date of the event
$endDate; // End date of the event
$description; // description of the event
$location; // Location of the event
$participantList = []; // List of participants
$participant;

$event = getEvent();

//------- HTML
?>
<html>
<body>

<div id="top">
	<? echo $event->name; ?>
	<div id="topLeft">
	</div>
	<div id="topRight">
		<li> Start dato: <? echo $startDate; ?> </li>
		<li> Slut dato: <? echo $endDate; ?> </li>
		<li> Sted: <? echo $location; ?> </li>
	</div>
</div>
<div id="bottom">
	<div id="bottomLeft">
		<? foreach( $event->participantList as $participant) { 	?>
		<p><? echo $task; ?></p>
		<? } ?>
	</div>
	<div id="bottomRight">
		<? echo $description; ?>
	</div>
</div>

</body>
</html>